//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Futurebirds','The National - VA','Richmond, VA','Thursday','5/2/2024','7:30 PM','6240470','Futurebirds-5-2-2024'],['Hawthorne Heights','The National - VA','Richmond, VA','Friday','5/3/2024','8:00 PM','6253721','Hawthorne-Heights-5-3-2024'],['Lewis Black','The National - VA','Richmond, VA','Saturday','5/4/2024','8:00 PM','6084606','Lewis-Black-5-4-2024'],['Silversun Pickups','The National - VA','Richmond, VA','Sunday','5/5/2024','7:30 PM','6258520','Silversun-Pickups-5-5-2024'],['Chicano Batman','The National - VA','Richmond, VA','Tuesday','5/7/2024','7:30 PM','6232097','Chicano-Batman-5-7-2024'],['Thy Art Is Murder','The National - VA','Richmond, VA','Wednesday','5/8/2024','7:00 PM','6254106','Thy-Art-Is-Murder-5-8-2024'],['Black Veil Brides','The National - VA','Richmond, VA','Thursday','5/9/2024','7:00 PM','6149793','Black-Veil-Brides-5-9-2024'],['Pink Talking Fish - A Tribute to Pink Floyd, The Talking Heads & Phish','The National - VA','Richmond, VA','Friday','5/10/2024','8:00 PM','6296823','Pink-Talking-Fish---A-Tribute-to-Pink-Floyd--The-Talking-Heads---Phish-5-10-2024'],['Kurt Vile and The Violators','The National - VA','Richmond, VA','Saturday','5/11/2024','8:00 PM','6256592','Kurt-Vile-and-The-Violators-5-11-2024'],['In This Moment','The National - VA','Richmond, VA','Monday','5/13/2024','6:30 PM','6266206','In-This-Moment-5-13-2024'],['Hot Water Music','The National - VA','Richmond, VA','Tuesday','5/14/2024','7:30 PM','6183334','Hot-Water-Music-5-14-2024'],['The Amity Affliction','The National - VA','Richmond, VA','Wednesday','5/15/2024','6:30 PM','6234424','The-Amity-Affliction-5-15-2024'],['Herb Alpert & Lani Hall','The National - VA','Richmond, VA','Thursday','5/16/2024','7:30 PM','6072904','Herb-Alpert---Lani-Hall-5-16-2024'],['Ancient Aliens Live','The National - VA','Richmond, VA','Friday','5/17/2024','7:30 PM','5905306','Ancient-Aliens-Live-5-17-2024'],['Papadosio','The National - VA','Richmond, VA','Saturday','5/18/2024','8:00 PM','6405204','Papadosio-5-18-2024'],['The Alarm','The National - VA','Richmond, VA','Sunday','5/19/2024','7:30 PM','6221063','The-Alarm-5-19-2024'],['Kamelot','The National - VA','Richmond, VA','Tuesday','5/21/2024','7:00 PM','6215921','Kamelot-5-21-2024'],['Hunxho','The National - VA','Richmond, VA','Friday','5/24/2024','8:00 PM','6306801','Hunxho-5-24-2024'],['Skilla Baby & Rob49','The National - VA','Richmond, VA','Saturday','6/8/2024','8:00 PM','6399775','Skilla-Baby---Rob49-6-8-2024'],['Saosin & Cove Reber','The National - VA','Richmond, VA','Sunday','6/9/2024','7:30 PM','6408661','Saosin---Cove-Reber-6-9-2024'],['Trap Karaoke','The National - VA','Richmond, VA','Saturday','6/15/2024','7:30 PM','6410640','Trap-Karaoke-6-15-2024'],['BossMan Dlow','The National - VA','Richmond, VA','Sunday','6/16/2024','8:00 PM','6348986','BossMan-Dlow-6-16-2024'],['The Wailers','The National - VA','Richmond, VA','Thursday','6/20/2024','7:30 PM','6378774','The-Wailers-6-20-2024'],['The Legwarmers','The National - VA','Richmond, VA','Friday','6/21/2024','8:00 PM','6316307','The-Legwarmers-6-21-2024'],['Yussef Dayes','The National - VA','Richmond, VA','Sunday','6/23/2024','7:30 PM','6278593','Yussef-Dayes-6-23-2024'],['Taylor Shines - The Laser Spectacular','The National - VA','Richmond, VA','Thursday','7/11/2024','7:30 PM','6362019','Taylor-Shines---The-Laser-Spectacular-7-11-2024'],['Emo Nite','The National - VA','Richmond, VA','Friday','7/12/2024','9:00 PM','6395426','Emo-Nite-7-12-2024'],['Boys Like Girls','The National - VA','Richmond, VA','Tuesday','7/16/2024','7:30 PM','6383676','Boys-Like-Girls-7-16-2024'],['DIIV','The National - VA','Richmond, VA','Wednesday','7/17/2024','7:30 PM','6289858','DIIV-7-17-2024'],['Mammoth WVH','The National - VA','Richmond, VA','Tuesday','7/23/2024','7:30 PM','6301047','Mammoth-WVH-7-23-2024'],['Citizen Soldier','The National - VA','Richmond, VA','Thursday','7/25/2024','7:30 PM','6308590','Citizen-Soldier-7-25-2024'],['Old Gods of Appalachia','The National - VA','Richmond, VA','Friday','7/26/2024','8:00 PM','6362157','Old-Gods-of-Appalachia-7-26-2024'],['Saved By The 90s','The National - VA','Richmond, VA','Saturday','7/27/2024','8:00 PM','6316308','Saved-By-The-90s-7-27-2024'],['Muscadine Bloodline','The National - VA','Richmond, VA','Saturday','8/17/2024','8:00 PM','6308318','Muscadine-Bloodline-8-17-2024'],['Charley Crockett','The National - VA','Richmond, VA','Tuesday','8/20/2024','7:30 PM','6318407','Charley-Crockett-8-20-2024'],['Crumb','The National - VA','Richmond, VA','Friday','8/23/2024','8:00 PM','6404284','Crumb-8-23-2024'],['Down South Dance Party','The National - VA','Richmond, VA','Wednesday','8/28/2024','8:00 PM','6411518','Down-South-Dance-Party-8-28-2024'],['Dweezil Zappa','The National - VA','Richmond, VA','Wednesday','9/4/2024','8:00 PM','6319906','Dweezil-Zappa-9-4-2024'],['49 Winchester','The National - VA','Richmond, VA','Friday','9/6/2024','8:00 PM','6373522','49-Winchester-9-6-2024'],['Hoodoo Gurus','The National - VA','Richmond, VA','Tuesday','9/10/2024','7:30 PM','6131234','Hoodoo-Gurus-9-10-2024'],['Faun','The National - VA','Richmond, VA','Tuesday','9/24/2024','7:30 PM','6331257','Faun-9-24-2024'],['The Beaches','The National - VA','Richmond, VA','Friday','9/27/2024','8:00 PM','6410012','The-Beaches-9-27-2024'],['Sleeping With Sirens','The National - VA','Richmond, VA','Monday','9/30/2024','7:00 PM','6343594','Sleeping-With-Sirens-9-30-2024'],['Everclear, Marcy Playground & Jimmie's Chicken Shack','The National - VA','Richmond, VA','Saturday','10/5/2024','7:00 PM','6402896','Everclear--Marcy-Playground---Jimmie-s-Chicken-Shack-10-5-2024'],['DJ Shadow ','The National - VA','Richmond, VA','Monday','10/14/2024','7:30 PM','6386258','DJ-Shadow---10-14-2024'],['Ricky Montgomery','The National - VA','Richmond, VA','Sunday','10/20/2024','7:30 PM','6403494','Ricky-Montgomery-10-20-2024'],['Dylan Gossett','The National - VA','Richmond, VA','Friday','11/1/2024','8:00 PM','6399106','Dylan-Gossett-11-1-2024'],['Morgan Wade','The National - VA','Richmond, VA','Friday','11/8/2024','8:00 PM','6379279','Morgan-Wade-11-8-2024'],['Underoath','The National - VA','Richmond, VA','Sunday','12/8/2024','7:50 PM','6383925','Underoath-12-8-2024'],['The Glitch Mob & Ivy Lab','The National - VA','Richmond, VA','Friday','4/4/2070','TBD','4363703','The-Glitch-Mob---Ivy-Lab-4-4-2070'],['Iration, Hirie & The Ries Brothers','The National - VA','Richmond, VA','Wednesday','5/7/2070','TBD','4374502','Iration--Hirie---The-Ries-Brothers-5-7-2070'],['Jonathan McReynolds','The National - VA','Richmond, VA','Tuesday','4/10/2074','8:00 PM','5761723','Jonathan-McReynolds-4-10-2074']],'The National Richmond','http://www.ticketnetwork.com/ticket/The-National-Richmond-events.aspx');